import React from 'react'
import routerconfig from '../router'
import {Suspense} from "react"
import {useRoutes} from "react-router-dom"
function App() {
  return (
    <Suspense fallback={<div>...laoding</div>}>
       {
         useRoutes(routerconfig)
       }
    </Suspense>
  )
}

export default App